<li>
    <a href="dienthoai.php?id={$pid}">
        <img src="{$pimgurl}" alt="{$pname}">
        <span class="khuyenmai {$khuyenmai:off#}" title="Khuyến mãi {$kmdetail: #}">Sản phẩm khuyến mãi</span>
    </a>
    <div class="pname" title="{$pname}">{$pname}</div>
    <div class="pprice"><em>{$pprice}</em> VNĐ</div>
    <a class="pbuy" href="buy/{$pid}" title="Mua {$pname}">mua</a>

</li>